<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        li {
            list-style: none;
        }
        .taobao {
            width: 574px;
            height: 315px;
            background-color: pink;
            margin: 100px auto;
            border-radius: 12px;
            overflow: hidden;
        }
        .taobao ul {
            /* display: flex; */
        }
        .taobao img {
            /* 去掉图片底侧缝隙 */
            display: block;
            width: 100%;
            height: 100%;
        }
    </style>
</head>
<body>
    <div class="taobao">
        <ul>
            <li><a href="#"><img src="./tb.jpg" alt=""></a></li>
            <li><a href="#"><img src="./tb.jpg" alt=""></a></li>
        </ul>
    </div>
</body>
</html>